#ifndef COMM_HPP
#define COMM_HPP

#include<Arduino.h>

//typedef struct report_message {
//	int temperature0;
//	int temperature1;
//	uint8_t fanSpeed;
//	uint8_t isConfig;
//} report_message;

struct Comm {
	static int init();
	static void setStartupMode(int val);
	static int addPeer(uint8_t* address, bool save);
	static void sendStr(const char* msg);
	static int sendStr(int idx, const char* msg);
	static int receiveStr(char* msg);
};
#endif